/ TextGen / TextGenLib / TextGenLib / GetDirective


Parameters
line - The current template line.
commentChars - The optional comment characters.

Returns

The Directive object if the line is a directive.

Syntax

JavaScript
GetDirective(line, commentChars = "//")

Returns a Directive object if the line is a directive.

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.